<?php
require_once '../dao/dao_sys_manage.php';
require_once '../config.php';
require_once '../dao/dao_db.php';
if($_POST['termstartday']!=''){
	$termstartday=$_POST['termstartday'];
}
if($_POST['switch']!=''){
	$switch=$_POST['switch'];
}
update_sysinfo($termstartday,$switch);
mysql_close();
header("LOCATION:../sys_manage.php?msgcode=1");
?>